<!DOCTYPE html>
<html>
<head>
  <title><%= content_for?(:title) ? yield(:title) : 'Catlog2' %></title>
  <%= stylesheet_link_tag  'admin', media: 'all' %>
  <%= csrf_meta_tags %>
</head>
<body>

<div  class="app-session">
  <div class="uk-container uk-container-center uk-text-center app-session-form">
    <%= form_tag admin_sessions_path, class: 'uk-form' do %>
        <h2>博客后台登录</h2>
        <div class="uk-form-row">
          <%= password_field_tag :password, params[:password], class: 'app-password-field uk-width-1-3', placeholder: '后台密码' %>
        </div>
        <div class="uk-form-row">
          <%= submit_tag '登录', class: 'uk-button uk-button-large' %>
        </div>
    <% end %>
  </div>
</div>


</body>
</html>
